package com.soft3.yxq.generator.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 管理员表
 * </p>
 *
 * @author yxq
 * @since 2024-12-20
 */
@ApiModel(value = "Admin对象", description = "管理员表")
public class Admin implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("编号")
    @TableId(value = "admin_id", type = IdType.AUTO)
    private Integer adminId;

    @ApiModelProperty("账户名")
    private String adminName;

    @ApiModelProperty("昵称")
    private String adminNickname;

    @ApiModelProperty("密码")
    private String adminPassword;

    @ApiModelProperty("头像地址")
    private String adminProfilePictureSrc;

    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }

    public String getAdminNickname() {
        return adminNickname;
    }

    public void setAdminNickname(String adminNickname) {
        this.adminNickname = adminNickname;
    }

    public String getAdminPassword() {
        return adminPassword;
    }

    public void setAdminPassword(String adminPassword) {
        this.adminPassword = adminPassword;
    }

    public String getAdminProfilePictureSrc() {
        return adminProfilePictureSrc;
    }

    public void setAdminProfilePictureSrc(String adminProfilePictureSrc) {
        this.adminProfilePictureSrc = adminProfilePictureSrc;
    }

    @Override
    public String toString() {
        return "Admin{" +
            "adminId = " + adminId +
            ", adminName = " + adminName +
            ", adminNickname = " + adminNickname +
            ", adminPassword = " + adminPassword +
            ", adminProfilePictureSrc = " + adminProfilePictureSrc +
        "}";
    }
}
